package com.realworld.service;


import com.realworld.common.R;
import com.realworld.model.dto.UserInfoReq;
import com.realworld.model.pojo.UserInfo;


public interface UserInfoService{
    UserInfo login(UserInfoReq userInfoReq);

    R register(UserInfoReq userInfoReq);

    UserInfo getUserInfo(String username);

    R updateUserInfo(UserInfoReq userInfoReq);
}
